1.4 IPSec: Site to Site - To ASA

ASA ISAKMP STATES

MM_WAIT_MSG2
Initial DH public key sent to responder. Awaiting initial contact reply from other side.
If stuck here it usually means the other end is not responding. This could be due to no route to the far end or the far end does not have ISAKMP enabled on the outside or the far end is down.

MM_WAIT_MSG3
Both peers have agreed on the ISAKMP policies. Awaiting exchange of keyring information.
Hang up’s here may be due to mismatch device vendors, a router with a firewall in the way, or even ASA version mismatches.

MM_WAIT_MSG4
In this step the pre-share key hashes are exchanged. They are not compared or checked, only sent. If one side sends a key and does not receive a key back, this is where the tunnel will fail.
I have seen the tunnel fail at this step due to the remote side having the wrong Peer IP address. Hang up’s here may also be due to mismatch device vendors, a router with a firewall in the way, or even ASA version mismatches.

MM_WAIT_MSG5
This step is where the devices exchange pre-shared keys.
If the pre-shared keys do not match it will stay at this MSG. I have also seen the tunnel stop here when NAT Traversal was on when it needed to be turned off.

MM_WAIT_MSG6
This step is where the devices exchange pre-shared keys.
If the pre-shared keys do not match it will stay at this MSG. I have also seen the tunnel stop here when NAT Traversal was on when it needed to be turned off.
However, if the state goes to MSG6 then the ISAKMP gets reset that means phase 1 finished but phase 2 failed. Check that IPSEC settings match in phase 2 to get the tunnel to MM_ACTIVE.

AM_ACTIVE / MM_ACTIVE
The ISAKMP negotiations are complete. Phase 1 has successfully completed.


Configuration on OLD ASA:
Configuration on new ASA: [5 Changes]
  1. Replace  the keyword  'isakmp'  with  'ikev1'
    • In Step 2
      • (config)# crypto ikev1 policy  
    • In Step 7
      • (config)# crypto ikev1 enable  
  2. Add the key word 'ikev1' as follows:
    • In Step 3
      • (config-tunnel-ipsec):  ikev1  pre-shared-key  
    • In Step 4
      • (config)# crypto ipsec  ikev1  transform-set  
    • In Step 5
      • (config)# crypto map   <#>  ikev1  transform-set  

Solution:

ON ASA1
ON R2